/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.employee.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 级别工资Entity
 * @author jyangye
 * @version 2018-01-10
 */
public class ViEmpSSetSalery extends DataEntity<ViEmpSSetSalery> {
	
	private static final long serialVersionUID = 1L;
	private String compId;		// 机构
	private String level;		// 级别
	private Double baseSalery;		// 级别工资
	private Double basePrice;		// 奖金基数
	private Double phoneSubsidy;		// 话费补贴

    private Office comp;
	
	public ViEmpSSetSalery() {
		super();
	}

	public ViEmpSSetSalery(String id){
		super(id);
	}

	public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}

    @ExcelField(title="组织机构", align=2, sort=10)
    public Office getComp() {
        return comp;
    }

    public void setComp(Office comp) {
        this.comp = comp;
    }

    @Length(min=1, max=32, message="级别长度必须介于 1 和 32 之间")
	@ExcelField(title="级别", align=2, sort=30)
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	@ExcelField(title="级别工资", align=2, sort=40)
	public Double getBaseSalery() {
		return baseSalery;
	}

	public void setBaseSalery(Double baseSalery) {
		this.baseSalery = baseSalery;
	}
	
	@ExcelField(title="奖金基数", align=2, sort=50)
	public Double getBasePrice() {
		return basePrice;
	}

	public void setBasePrice(Double basePrice) {
		this.basePrice = basePrice;
	}
	
	@ExcelField(title="话费补贴", align=2, sort=60)
	public Double getPhoneSubsidy() {
		return phoneSubsidy;
	}

	public void setPhoneSubsidy(Double phoneSubsidy) {
		this.phoneSubsidy = phoneSubsidy;
	}
	
}